package com.ocean.pokesync.hook;

import com.ocean.pokesyncmixins.api.event.PokeSyncEvent;
import net.neoforged.neoforge.common.NeoForge;

import java.util.UUID;

public class PokeSyncMixinsHook {

    public static void callPreEvent(UUID player) {
        NeoForge.EVENT_BUS.post(new PokeSyncEvent.Pre(player));
    }

    public static void callCompleteEvent(UUID player) {
        NeoForge.EVENT_BUS.post(new PokeSyncEvent.Complete(player));
    }

}
